package com.roin.learn.springsecurity.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 管理员用户登录参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysAdminLoginParam {
    @NotEmpty
    private String username;
    @NotEmpty
    private String password;
}
